﻿using System.Collections.Generic;
using System.Threading.Tasks;

namespace Mrc.Domain.IModule
{
    public interface IAccountLogonService<T>
    {
        /// <summary>
        /// 用户登录
        /// </summary>
        /// <param name="loginName">账号</param>
        /// <param name="password">密码</param>
        /// <returns></returns>
        Task<T> CheckLogin(string loginName, string password);
    }
}